home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pcv05n11.zip
/
AFTER.BAT
next >
Wrap
DOS Batch File
|
1993-06-02
|
1KB
|
34 lines
@echo off
echo Looking for additions to system ... please wait.
echo Results will be found in C:\WINDOWS\UNINSTAL\%1.TXT
echo. > %1 ;Starts the comparison file, %1
echo Changes made to hard disk by %1 installation >> %1
echo. >> %1
echo [ WIN.INI ] >> %1 ;FC compares old files with new
fc win.old c:\windows\win.ini >> %1 ;ones and lists differences in %1
echo [ SYSTEM.INI ] >> %1
fc system.old c:\windows\system.ini >> %1
echo [ AUTOEXEC.BAT ] >> %1
fc autoexec.old c:\autoexec.bat >> %1
echo [ CONFIG.SYS ] >> %1
fc config.old c:\config.sys >> %1
echo [ FILES IN C:\WINDOWS ] >> %1
dir c:\windows\*.* /a /b /l > windir.new ;Gets new directory listing
fc windir.old windir.new >> %1 ;and compares it with the old
echo [ FILES IN C:\WINDOWS\SYSTEM ] >> %1
dir c:\windows\system\*.* /a /b /l > sysdir.new
fc sysdir.old sysdir.new >> %1
echo [ FILES IN C:\ ] >> %1
dir c:\*.* /a-d /b /l > root.new
fc root.old root.new >> %1
echo [ DIRECTORY TREE FOR C: ] >> %1
tree c:\ /a > treec.new ;New directory tree
fc treec.old treec.new >> %1
echo [ DIRECTORY TREE FOR F: ] >> %1 ;Add these lines if
tree f:\ /a > treef.new ;you install programs
fc treef.old treef.new >> %1 ;on drive F:
find /v "Comparing files" %1 > %1.txt ;Cleans up text file a bit
del %1 ;Deletes working text file
del *.old ;Removes the remaining
del *.new ;temporary files